LuaTransform = class('LuaTransform')

function LuaTransform:ctor(position, rotation, scale, localPosition)
    self.position = position or Vector3.zero
    self.rotation = rotation or Quaternion.identity
    self.lossyScale = scale or 1
    self.localPosition = localPosition or Vector3.zero
end

function LuaTransform:TransformPoint(point)
    point = point + self.localPosition
    point = point * self.lossyScale
    point = self.rotation * point
    point = self.position + point
    return point
end